<?php

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

class TuihaController extends FrontBaseC {

    /**
     * Declares class-based actions.
     */
    public function actionIndex() {
        $goodModel = new GoodsModel();
        $good = $goodModel->getTHWgoods();
        if ($good) {
            echo "========================================";
            echo urldecode(json_encode($good));
            echo "========================================";
        } else {
            return NuLL;
        }
    }

}
